cfurl.htmlHTMLudogX'πùΔ¢πùΔ¢ÅÅ;( Monkeybread Realbasic plugin - Documentation - CFURL

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class CFURL

class, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: A class for a core foundation boolean.
Notes:
Subclass of CFObject.
If the release property is true, the destructor of this class will release the url reference.

AbsoluteURL as CFURL

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the absolute URL.
Notes: A URL contains normally a base and a relative part. This function creates one absolute URL from those parts.

AppendPathComponent(pathcomponent as CFString,isDirectory as boolean) as CFURL

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Appends a path component to this URL.

AppendPathExtension(extension as CFString) as CFURL

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Appends a path extension to this URL.

BaseURL as CFURL

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the base URL.
Notes: A URL contains normally a base and a relative part.

CanBeDecomposed as boolean

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Can this url be decomposed?

Data(encoding as integer, escapeWhitespace as boolean) as CFBinary

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the URL as binary data using the given encoding.

DeleteLastPathComponent as CFURL

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Deletes the last path component of this URL.

DeletePathExtension as CFURL

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Deletes the path extension of this URL.

Fragment(charactersToLeaveEscaped as CFString) as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the Fragment part of this URL.

HasDirectoryPath as boolean

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Has this URL a directory path?

HFSFileSystemPath as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the URL as HFSFileSystemPath.

HostName as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the HostName part of this URL.

isAbsolutePath as boolean

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Is the path an absolute path?

LastPathComponent as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the LastPathComponent part of this URL.

NetLocation as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the NetLocation part of this URL.

ParameterString(charactersToLeaveEscaped as CFString) as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the ParameterString part of this URL.

Password as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the Password part of this URL.

Path as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the Path part of this URL.

Path(resolveAgainstBase as boolean) as string

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the path of this URL.

PathExtension as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the PathExtension part of this URL.

PortNumber as integer

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: -> -2. Mac OS Carbon: Works. Windows: -> -2.
Function: Returns the PortNumber part of this URL.
Notes: Returns -1 if no port specified and -2 on Windows and Mac OS Classic.

PosixFileSystemPath as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the URL as PosixFileSystemPath.

QueryString(charactersToLeaveEscaped as CFString) as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the QueryString part of this URL.

ResourceSpecifier as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the ResourceSpecifier part of this URL.

Scheme as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the scheme part of this URL.

Str as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the URL as binary data.

StrictPath as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the StrictPath part of this URL.

UserName as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the UserName part of this URL.

WindowsFileSystemPath as CFString

method, CoreFoundation So, 21. Jul 2002
Mac OS Classic: Does nothing. Mac OS Carbon: Works. Windows: Does nothing.
Function: Returns the URL as WindowsFileSystemPath.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ